<!--
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改岗位数据</title>
</head>
<body>
<form action="/updatePost" method="post">
    岗位id:：<input readonly="readonly" type="text" name="id" value="${post.id}"><br>
    岗位名称：<input type="text" name="post_name" value="${post.post_name}"><br>
    岗位编码：<input type="text" name="code" value="${post.code}"><br>
    岗位类型：<input type="text" name="type" value="${post.type}"><br>
    备   注：<input type="text" name="other" value="${post.other}"><br>
    <input type="submit" value="修改">
</form>
</body>
</html>-->
<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<!--/*@thymesVar id="student" type="com.example.crud.pojo.Student"*/-->
<head>
    <meta charset="UTF-8">
    <title>修改岗位基本信息</title>
</head>
<body>
<div >
    <form action="/updatePost" method="post">
        <div class="form-group">
            <label >岗位名称</label>
            <input  type="text" name="post_name" th:value="${post.getPost_name()}" class="form-control" placeholder="请输入修改后的岗位名称">
        </div>
        <div class="form-group">
            <label >岗位编码</label>
            <input type="text" name="code" th:value="${post.getCode()}" class="form-control" placeholder="请输入修改后的岗位编码">
        </div>
        <div class="form-group">
            <label >岗位类型</label>
            <input type="text" name="type" th:value="${post.getType()}" class="form-control" placeholder="请输入修改后的岗位类型">
        </div>
        <div class="form-group">
            <label >备注</label>
            <input type="text" name="other" th:value="${post.getOther()}" class="form-control" placeholder="请输入修改后的备注">
        </div>
        <button type="submit" class="btn btn-default">保存</button>
    </form>
</div>
</body>
</html>
